class CreatePictures < ActiveRecord::Migration
  def self.up
    create_table :pictures do |t|
      t.string  :name,  :limit => 100,  :null => false
      t.text  :description
      t.integer :status, :limit => 1, :default => 0
      t.integer :flag,    :limit => 4
    end
  end

  def self.down
    drop_table  :user_photo_pictures
  end
end
